package jbelab3productmanager;

import java.util.Scanner;


public class Menu {	
	Scanner sc;
	
	int MainMenu(){
		
		int ch = 0;
		System.out.println("MENU");
		System.out.println("====================");
		System.out.println("1. Category Manager");
		System.out.println("2. Product Manager");
		System.out.println("3. Exit");
		System.out.println("====================");	
		sc = new Scanner(System.in);
		ch = sc.nextInt();
		return ch;
	}
	
	int CateMenu(){
		int ch = 0;
		System.out.println("CATEGORY MENU");
		System.out.println("=====================");
		System.out.println("1. Add new Category");
		System.out.println("2. Show Category");		
		System.out.println("3. Edit Category Name");		
		System.out.println("=====================");
		sc = new Scanner(System.in);
		ch = sc.nextInt();
		return ch;
	}	
	
	int ProductMenu(){
		int ch = 0;
		System.out.println("PRODUCT MENU");
		System.out.println("=====================");
		System.out.println("1. Add new Product");
		System.out.println("2. Show Product");				
		System.out.println("=====================");
		sc = new Scanner(System.in);
		ch = sc.nextInt();
		return ch;
	}	
}
